<script setup lang="ts">
import dayjs from 'dayjs';
import customParseFormat from 'dayjs/plugin/customParseFormat';
import { onMounted } from 'vue';
import { ls } from '@/utils/ls.utils';
import { useAppStore } from './store/appStore';
import 'dayjs/locale/zh-cn';

dayjs.locale('zh-cn');
dayjs.extend(customParseFormat);

ls.setOptions({
  namespace: __VITE_APP_STORE_PREFIX__
});

onMounted(() => {
  const appStore = useAppStore();
  appStore.setupApp();
});
</script>

<template>
  <view />
</template>
